package com.addplus.townmall.server.api.model.town.param;

import lombok.Data;

import java.io.Serializable;

/**
 * 类名: OrderTimeOutParam
 *
 * @author zhangjiehang
 * @version V1.0
 * @date 2018/9/27 下午12:14
 * @description 类描述: 定时超时队列参数实体类
 */
@Data
public class OrderTimeOutParam implements Serializable {
    private static final long serialVersionUID = -5648206177456871322L;
    /**
     * 订单主键id
     */
    private Integer orderId;
    /**
     * 订单流水号
     */
    private String orderNum;

    /**
     * 1:普通 2:拼团
     */
    private Integer type;

    /**
     * 1:普通商品 2:礼品卡 3:会员
     */
    private Integer subType;
    /**
     * 超时时间
     */
    private Integer timeOutSecond;

    public OrderTimeOutParam(Integer orderId, String orderNum, Integer type, Integer subType, Integer timeOutSecond) {
        this.orderId = orderId;
        this.orderNum = orderNum;
        this.type = type;
        this.subType = subType;
        this.timeOutSecond = timeOutSecond;
    }
}
